
module.exports = {
    show (options = { title: '加载中...', mask: true }) {
        wx.showLoading(options)
    },
    hide () {
        wx.hideLoading()
    },
    showNav () {
        wx.showNavigationBarLoading();
    },
    hideNav () {
        wx.hideNavigationBarLoading();
    },
}
